uDig

«  Selection using Attributes   ::   Contents   ::   Reference  »

Selection using CQL

You can define a selection using Common Query Langague (similar to an SQL where statement):

  1. Select a layer with feature content in the Layer View
  2. Open the Table View
  3. From the list of available attributes go to the bottom of the list and choose: CQL
  4. Type in a filer:
    • COLOR_MAP=3 OR COLOR_MAP=2
    • NAME like ‘%Gulch%’ AND DESIG = ‘valley’

Common Query Language Examples

population > 30000 population attribute greater than 30000
age BETWEEN 20 AND 30 age between 20 and thirty

Related concepts

Constraint Query Language

Related reference

Table view

«  Selection using Attributes   ::   Contents   ::   Reference  »